﻿#include "core/geobj.h"
#include <assert.h>


void geobj_destroy(geobj_t* p_obj)
{
    assert(NULL != p_obj);
    assert(NULL != p_obj->vtable.cb_destroy);

    geobj_destroy_cb cb_destroy = p_obj->vtable.cb_destroy;

    cb_destroy(p_obj);
}
